zephyr_sources_ifdef(CONFIG_SYS_LOG sys_log.c)
zephyr_sources_ifdef(CONFIG_SYS_LOG_BACKEND_NET sys_log_net.c)

zephyr_sources_ifdef(
  CONFIG_LOG
  log_list.c
  log_core.c
  log_msg.c
  log_output.c
  )

zephyr_sources_ifdef(
  CONFIG_LOG_BACKEND_UART
  log_backend_uart.c
  )
